<template>
  <div class="app-main">
    <!--<header class="app-header">
    	在线排版系统
    </header>-->
    <div class="app-container">
      <router-view/>
    </div>
  </div>
</template>

<script>
export default {
  name: "layout"
};
</script>

<style lang="scss" scoped>
.app-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
  .app-header {
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #eee;
    text-align: left;
    padding-left: 30px;
    position: fixed;
    top: 0;
    box-sizing: border-box;
    left: 0;
    width: 100%;
    z-index: 99;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    background: #409eff /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }
  .app-container {
    flex: 1;
    height:100vh;
  }
}
</style>
